f6f14d3fb0b8749f534e6bfe82a6209dbdd5b44b,openhtmltopdf-core/src/main/java/com/openhtmltopdf/swing/Java2DTextRenderer.java,Java2DTextRenderer,getGlyphPositions,#OutputDevice#FSFont#String#,240
Before Change
Object aaHint = null;
Object fracHint = null;
Graphics2D graphics = ((Java2DOutputDevice)outputDevice).getGraphics();
Font awtFont = ((AWTFSFont)font).getAWTFont();
if (awtFont.getSize() > threshold ) {
aaHint = graphics.getRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING);
After Change
Object aaHint = null;
Object fracHint = null;
Graphics2D graphics = ((Java2DOutputDevice)outputDevice).getGraphics();
Font awtFont = ((AWTFSFont)font).getAWTFonts().get(0);
if (awtFont.getSize() > threshold ) {
aaHint = graphics.getRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING);